home *** CD-ROM | disk | FTP | other *** search
- ECHO OFF
- IF x==%1x GOTO 1ERROR
- IF x==%2x GOTO 2ERROR
- IF x==%3x GOTO 2ERROR
- ECHO ON
- MD %2:\HANDBOOK
- ECHO OFF
- ECHO .
- ECHO .
- ECHO Please make sure that the College Handbook CD ROM is in the CD ROM drive.
- PAUSE
- ECHO ON
- COPY %3:\*.DAT %2:\HANDBOOK
- COPY %3:\*.TXT %2:\HANDBOOK
- COPY %3:\DINXCE92.NDX %2:\HANDBOOK
- COPY %3:\HANDBOOK.EXE %2:\HANDBOOK
- COPY %3:\LISTCE92.LST %2:\HANDBOOK
- %1:\FMAKE %1:PREFS.TPL %2:\HANDBOOK\PREFS.TXT %1 %2 %3 HANDBOOK
- ECHO OFF
- ECHO .
- ECHO .
- ECHO Batch Installation complete...
- PAUSE
- GOTO END
- :1ERROR
- ECHO OFF
- ECHO The BATCHIN batch file takes three paramaters in order
- ECHO to work properly. With these parameters the BATCHIN batch
- ECHO file can install the College Handbook software on any drive, and use
- ECHO a CD ROM drive with any letter. The proper syntax to run this
- ECHO batch file is as follows:
- ECHO .
- ECHO BATCHIN x y z
- ECHO .
- ECHO Where:
- ECHO x is the drive letter for the drive that the
- ECHO Installation Program is on (which should be the CD)
- ECHO .
- ECHO y is the drive letter for the drive that the
- ECHO software is to be installed on
- ECHO .
- ECHO z is the drive letter of the CD ROM drive
- ECHO .
- ECHO PLEASE NOTE: This batch installation process will make no checks
- ECHO to verify that a drive is a CD ROM drive or any other
- ECHO checks to make sure your parameters are valid.
- ECHO .
- GOTO END
- :2ERROR
- ECHO You have not supplied enough parameters.
- ECHO Three parameters are required to run this batch file.
- ECHO The proper syntax to run this batch file is as follows:
- ECHO .
- ECHO BATCHIN x y z
- ECHO .
- ECHO Where:
- ECHO x is the drive letter for the drive that the
- ECHO Installation program is on (Which should be the CD)
- ECHO .
- ECHO y is the drive letter for the drive that the
- ECHO software is to be installed on
- ECHO .
- ECHO z is the drive letter of the CD ROM drive
- ECHO .
- :END
- ECHO ON